import 'package:get/get.dart';
import 'package:getx_study/http/http_utils.dart';
import 'package:getx_study/mode/MovieItem.dart';

class VideoListLogic extends GetxController {

  var movies = [
    MovieItem("我心中你的旋律", "https://v2.88zy.site/20210408/gw7Z6lSE/index.m3u8"),
    MovieItem("晨曦将至", "https://v2.88zy.site/20210408/yf6JlmhA/index.m3u8"),
    MovieItem("浮生一日2020", "https://v2.88zy.site/20210501/7ej2Vxvz/index.m3u8"),
  ];
  
  void loadData() {
    HttpUtils.get("/j/new_search_subjects").then((value) {
      print(value);
    });
  }

}
